<?php
use Co;
/**
 * Created by PhpStorm.
 * User: DRG
 * Date: 2018/7/7
 * Time: 21:32
 */

go(function (){
   Co::sleep(1);
   echo microtime(true)."echo main \n";
});
echo "test on \n";
go(function (){
    echo microtime(true)."echo to \n";
});